<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: '' //https://test-open.czb365.com/redirection/todo/?platformType=100000300&authCode=实时获取授权码&gasId=油站ID&gunNo=油枪号
			}
		},
		onLoad(option) {
			console.log(option.id, option.code, option.guynum)
			//https://open.czb365.com/redirection/todo/?platformType=100000300&authCode=实时获取授权码&gasId=油站ID&gunNo=油枪号
			this.src =
				`https://open.czb365.com/redirection/todo/?platformType=100000300&authCode=${option.code}&gasId=${option.id}&gunNo=${option.guynum}`
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>

</style>
